PGetNoBreak

Gets the Break/No Break setting of text, which determines whether the selected text can be broken between lines or kept together on same line.


Query results

This query returns a short value, which represents:
false for No Break off (to allow highlighted text to break normally at end of line)
true for No Break on (to keep highlighted text to gether on same line)
-2 for multiple settings in selection
Example. To change the setting, use the PNoBreak command.

PGetNoBreak noBreak;
if (noBreak && noBreak != -2) PNoBreak(false);


Copyright © 1996, Adobe Systems Incorporated. All rights reserved.

Comments or suggestions? Contact Adobe Developer Support